---
category: DOM
created: '2020-04-19'
title: Show an element
updated: '2021-10-13'
---

**JavaScript version**

```js show.js
const show = (ele) => (ele.style.display = '');
```

**TypeScript version**

```ts show.ts
const show = (ele: HTMLElement): string => (ele.style.display = '');
```
